package com.njitt.bysj.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;

import java.util.Date;

/**
 * @description: 供应商实体
 * @return: * @param null
 * @author:
 * @time: 2022/4/13 15:47
 */
@ToString
public class SupplierBean {
    private Integer id;

    private String supplierName;

    private String supplierAddress;

    private Integer supplierLinkMan;

    private String supplierLevel;

    private Integer supplierMainCommodity;

    private Integer supplierStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date supplierCreateDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date supplierUpdateDate;

    private Integer supplierEmpid;

    private EmpBean empBean;
    private MaterialBean materialBean;

    public EmpBean getEmpBean() {
        return empBean;
    }

    public void setEmpBean(EmpBean empBean) {
        this.empBean = empBean;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getSupplierAddress() {
        return supplierAddress;
    }

    public void setSupplierAddress(String supplierAddress) {
        this.supplierAddress = supplierAddress == null ? null : supplierAddress.trim();
    }

    public Integer getSupplierLinkMan() {
        return supplierLinkMan;
    }

    public void setSupplierLinkMan(Integer supplierLinkMan) {
        this.supplierLinkMan = supplierLinkMan;
    }

    public String getSupplierLevel() {
        return supplierLevel;
    }

    public void setSupplierLevel(String supplierLevel) {
        this.supplierLevel = supplierLevel == null ? null : supplierLevel.trim();
    }

    public Integer getSupplierMainCommodity() {
        return supplierMainCommodity;
    }

    public void setSupplierMainCommodity(Integer supplierMainCommodity) {
        this.supplierMainCommodity = supplierMainCommodity;
    }

    public Integer getSupplierStatus() {
        return supplierStatus;
    }

    public void setSupplierStatus(Integer supplierStatus) {
        this.supplierStatus = supplierStatus;
    }

    public Date getSupplierCreateDate() {
        return supplierCreateDate;
    }

    public void setSupplierCreateDate(Date supplierCreateDate) {
        this.supplierCreateDate = supplierCreateDate;
    }

    public Date getSupplierUpdateDate() {
        return supplierUpdateDate;
    }

    public void setSupplierUpdateDate(Date supplierUpdateDate) {
        this.supplierUpdateDate = supplierUpdateDate;
    }

    public Integer getSupplierEmpid() {
        return supplierEmpid;
    }

    public void setSupplierEmpid(Integer supplierEmpid) {
        this.supplierEmpid = supplierEmpid;
    }

    public MaterialBean getMaterialBean() {
        return materialBean;
    }

    public void setMaterialBean(MaterialBean materialBean) {
        this.materialBean = materialBean;
    }
}